#ifndef FRESHBLOODVIEWMODEL_H
#define FRESHBLOODVIEWMODEL_H

#include <QString>
#include "Interface/Count.h"

class FreshBloodViewModel
{
public:
    FreshBloodViewModel();
    //显示用的参数值
    struct CalibrationParam
    {
        bool check;
        QString wbc;
        QString rbc;
        QString hgb;
        QString mcv;
        QString plt;
    };
    //计算用数值
    struct CalibrationParamValue
    {
        double wbc;
        double rbc;
        double hgb;
        double mcv;
        double plt;
    };

    int BloodNumber;
    Count::EAnalysisType analysisMode;
    Count::EBloodType BloodMode;
    CalibrationParamValue target;
    CalibrationParamValue param[5][12];
    CalibrationParamValue cv[5];    //5组CV值
    CalibrationParamValue mean[5];  //5组平均值
    CalibrationParamValue coef[5];  //5组系数
    CalibrationParamValue coefMean; //平均校准系数
    CalibrationParamValue coefRaw;  //原校准系数
};

#endif // FRESHBLOODVIEWMODEL_H
